package router

import (
	"fx_swift_ifcgate_agent/internal/controller"
	"fx_swift_ifcgate_agent/pkg/middleware"
)

func CommissionRouter() {
	apiVer := miniApiVer.Group("commission", middleware.CheckAuth())
	{

		apiVer.POST("commissionList", controller.CommissionList)
		apiVer.GET("agentCommissionAccount", controller.AgentCommissionAccount)
		apiVer.POST("withdrawOperator", controller.WithdrawOperator)
		apiVer.POST("commitWithdrawBankInfo", controller.CommitWithdrawBankInfo)
		apiVer.GET("withdrawBankList", controller.WithdrawBankList)
		apiVer.POST("agentWithdrawList", controller.AgentWithdrawList)
	}
}
